package cn.haigui.icrawler.core.event;

import cn.haigui.icrawler.core.Task;
import lombok.Data;

@Data
public class Event {

    private String taskName= Task.DEFAULT_NAME;

    private String url;

    public Event(String url) {
        this.url = url;
    }

    public Event(String taskName, String url) {
        this.taskName = taskName;
        this.url = url;
    }
}
